const {dateFormat, htmlEscape, htmlUnEscape} = require('./index.js')

const dtStr = dateFormat(new Date())
console.log(dtStr);

const htmlStr = '<h1 title="hello npm">这是一个<span>h1标签噢</span>&&& &nbsp;</h1>'

// console.log(itheima.htmlEscape(htmlStr));

console.log(htmlUnEscape(htmlStr));